[XEN][POWERPC] should comment the Power Managment workaround in the code as well
authorJimi Xenidis <jimix@watson.ibm.com>
Sat, 2 Dec 2006 00:11:02 +0000 (19:11 -0500)
committerJimi Xenidis <jimix@watson.ibm.com>
Sat, 2 Dec 2006 00:11:02 +0000 (19:11 -0500)
Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
xen/arch/powerpc/powerpc64/ppc970.c

index 281ce05f394ac9187e97b186cb329d7a8b6b1b83..5adefae616139775ba33d11bea9b270d3e40d181 100644 (file)
@@ -193,8 +193,11 @@ void cpu_initialize(int cpuid)
     mtdec(timebase_freq);
     mthdec(timebase_freq);
 
-    hid0.bits.nap = 1;      /* NAP */
+    /* FIXME Do not set the NAP and DPM bits in HID0 until we have had a
+     * chance to audit the safe halt and idle loop code. */
+    hid0.bits.nap = 0;      /* NAP */
     hid0.bits.dpm = 1;      /* Dynamic Power Management */
+
     hid0.bits.nhr = 1;      /* Not Hard Reset */
     hid0.bits.hdice_en = 1; /* enable HDEC */
     hid0.bits.en_therm = 0; /* ! Enable ext thermal ints */